AmpProject\AmpWP\Infrastructure\Injector\SimpleInjector S

Total Complexity 45
Dependencies 9
Dependents 1
Total lines 440
Lines of code 185
Logical lines of code 86
Comment lines 163
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
resolve_argument_by_name()
A
53 8 24
resolve_argument()
S
53 7 23
make()
S
52 4 27
make_dependency()
S
53 4 25
resolve()
S
59 3 16
get_dependencies_for()
S
58 2 18
get_delegate()
S
71 2 6
get_shared_instance()
S
70 2 6
has_shared_instance()
S
74 2 4
__construct()
S
73 2 5
get_class_reflection()
S
69 2 7
ensure_is_instantiable()
S
74 2 5
delegate()
S
76 1 4
share()
S
76 1 4
bind_argument()
S
75 1 4
has_delegate()
S
79 1 3
bind()
S
76 1 4